package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.c5.C5Account;

import java.util.List;

/**
 * C5Game账户Service接口
 *
 * @author ruoyi
 * @date 2025-10-15
 */
public interface IC5AccountService extends IService<C5Account> {
    /**
     * 查询C5Game账户
     *
     * @param id C5Game账户主键
     * @return C5Game账户
     */
    public C5Account selectC5AccountById(Long id);

    /**
     * 查询C5Game账户列表
     *
     * @param c5Account C5Game账户
     * @return C5Game账户集合
     */
    public List<C5Account> selectC5AccountList(C5Account c5Account);

    /**
     * 新增C5Game账户
     *
     * @param c5Account C5Game账户
     * @return 结果
     */
    public int insertC5Account(C5Account c5Account);

    /**
     * 修改C5Game账户
     *
     * @param c5Account C5Game账户
     * @return 结果
     */
    public int updateC5Account(C5Account c5Account);

    /**
     * 批量删除C5Game账户
     *
     * @param ids 需要删除的C5Game账户主键集合
     * @return 结果
     */
    public int deleteC5AccountByIds(String ids);

    /**
     * 删除C5Game账户信息
     *
     * @param id C5Game账户主键
     * @return 结果
     */
    public int deleteC5AccountById(Long id);

    int refreshAccountInfo(String appKey);
}
